package net.tycmc.cty.ctyms.web.equiphealthstate;

import net.tycmc.cty.ctyms.timejob.iems.service.VclHealthStateService;

public class EquipHealthStateService {
	private VclHealthStateService vclHealthStateService;
	private EquipHealthStateDao equipDao;

	public EquipHealthStateService(){
		
	}
	
	public VclHealthStateService getVclHealthStateService() {
		return vclHealthStateService;
	}

	public void setVclHealthStateService(VclHealthStateService vclHealthStateService) {
		this.vclHealthStateService = vclHealthStateService;
	}

	public EquipHealthStateDao getEquipDao() {
		return equipDao;
	}

	public void setEquipDao(EquipHealthStateDao equipDao) {
		this.equipDao = equipDao;
	}

	//获取数据量
	public int getDataCount() {
		return equipDao.getCount();
	}
	//启动job
	public boolean startJob(){
		vclHealthStateService.healthStateStart();
		return true;
	}
}
